package cn.zhxu.crud;

import jakarta.validation.constraints.Min;
import lombok.Getter;
import lombok.Setter;

/**
 * 主键 ID 为数字的输入对象
 * @param <ID> ID
 */
@Getter
@Setter
public class IdInput<ID extends Number> implements Identifier<ID> {

    @Min(value = 0)
    private ID id;

}
